﻿
using System;
using System.Drawing;
using MonoTouch.CoreGraphics;
using MonoTouch.Foundation;
using MonoTouch.UIKit;

namespace Beauty
{
	public partial class CustomerInforVCtrl : UIViewController
	{
		public CustomerInforVCtrl () : base ("CustomerInforVCtrl", null)
		{
		}

		public override void DidReceiveMemoryWarning ()
		{
			// Releases the view if it doesn't have a superview.
			base.DidReceiveMemoryWarning ();
			
			// Release any cached data, images, etc that aren't in use.
		}

		public override void ViewDidLoad ()
		{
			base.ViewDidLoad ();
			
			// Perform any additional setup after loading the view, typically from a nib.
			viewInformationMain.Layer.CornerRadius = 5.0f;
			viewTop.Layer.CornerRadius = 5.0f;
			viewTop.Layer.BorderWidth = 1.0f;
			viewTop.Layer.BorderColor = UIColorExtensions.FromHexString ("#b2b2b2").CGColor;
			viewMid.Layer.CornerRadius = 5.0f;
			viewMid.Layer.BorderWidth = 1.0f;
			viewMid.Layer.BorderColor = UIColorExtensions.FromHexString ("#b2b2b2").CGColor;
			viewBotLeft.Layer.CornerRadius = 5.0f;
			viewBotLeft.Layer.BorderWidth = 1.0f;
			viewBotLeft.Layer.BorderColor = UIColorExtensions.FromHexString ("#b2b2b2").CGColor;
			viewBotRight.Layer.CornerRadius = 5.0f;
			viewBotRight.Layer.BorderWidth = 1.0f;
			viewBotRight.Layer.BorderColor = UIColorExtensions.FromHexString ("#b2b2b2").CGColor;
			ivAvatar.Image = CustomersUtility.ImageFrom ("img3.1");
			ivFemale.Image = CustomersUtility.ImageFrom ("Customer_Infor_ic_check");
			ivMale.Image = CustomersUtility.ImageFrom ("Customer_Infor_ic_uncheck");
		}
	}
}

